package jym.tan.movielibrary.component.base;

import javax.swing.JMenu;

import jym.tan.movielibrary.component.Initializer;
import jym.tan.movielibrary.logger.LibraryLogger;
import jym.tan.movielibrary.utils.ClassUtils;

public abstract class BaseMenu<E> extends JMenu implements Initializer {

	private static final long serialVersionUID = 15L;

	public BaseMenu(String menu) {
		super(menu);
		LibraryLogger.initMessage(ClassUtils.getInstance().getResolvedClassName(this.getClass()));
		initialize();
	}

	public abstract void initialize();
}
